package com.aizhixin.quick.dto;

import com.aizhixin.quick.validated.Add;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
@ApiModel(description="试题分类相关DTO")
public class ExamTypeSaveDTO {

    @NotBlank(message = "分类名称",groups = Add.class)
    private String typeName;

    @NotBlank(message = "分类等级",groups = Add.class)
    private String typeLevel;

    @NotBlank(message = "描述",groups = Add.class)
    private String describe;
}
